import {requestClient} from '#/api/request';

export async function findParameterListPage(params) {
    return requestClient.get('/sys/parameter/list/page', {params});
}

export async function createParameterInfo(data) {
    return requestClient.post('/sys/parameter/create', data)
}

export async function updateParameterInfo(data) {
    return requestClient.put('/sys/parameter/update', data)
}

export async function removeParameterInfo(id) {
    return requestClient.delete('/sys/parameter/remove', {params: {id}})
}